package com.admin.mapper;

import java.io.Serializable;
import java.util.List;

import com.admin.domain.AdminDO;

/**
 * 管理员mapper
 * 
 * @author yangzl
 * @date 2021/09/13
 */
public interface AdminMapper extends BaseMapper<AdminDO> {

    /**
     * 根据id批量删除
     * 
     * @param list
     * @return
     */
     int deleteByPrimaryKeys(List<? extends Serializable> list);

    /**
     * 根据用户登录名，查询记录
     * 
     * @param username
     * @return
     */
     AdminDO selectByUsername(String username);
}